package com.example.voice.dto;

import lombok.Data;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 创建语音处理任务DTO
 * @author crp
 * @since 2025-01-26
 */
@Data
public class CreateVoiceTaskDTO {
    
    @NotBlank(message = "音频数据不能为空")
    private String audioData;
    
    @NotBlank(message = "音频格式不能为空")
    private String format;
    
    @NotBlank(message = "语言代码不能为空")
    private String language;
    
    @NotNull(message = "角色ID不能为空")
    private Long characterId;
    
    @NotNull(message = "用户ID不能为空")
    private Long userId;
    
    private Long conversationId;
    
    private Boolean enableEmotionDetection = false;
    
    private Boolean storeUserVoice = true;  // 是否存储用户语音文件
}
